package com.easybuy.service.ProductService;


import com.easybuy.Tools.Page;
import com.easybuy.pojo.Product;

import java.util.List;
import java.util.Map;


public interface ProductService {
    Page selectProducts(Map map);
    Product selectProductById (int id);
    Product selectProductByName(String name);
    Page allProducts(Page page);
    int addProduct(Product product);
    int deleProduct(int id);
    int updateProduct(Product product);
}
